package com.share.sentinel.response;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author caifan
 * @created 2021/4/28
 * description: 响应数据
 */
@AllArgsConstructor
@Data
public class ResponseData {
    /**
     * 编码
     */
    private String code;

    /**
     * 响应消息
     */
    private String message;

    /**
     * 响应数据
     */
    private Object data;

    public ResponseData(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
